package com.demo.test.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author XieHuan
 * @since 2017-06-15
 */
public class Battle extends Model<Battle> {

    private static final long serialVersionUID = 1L;

    /**
     * 对战id
     */
	private Integer id;
    /**
     * 第一个歌手id
     */
	@TableField("first_singid")
	private String firstSingid;
    /**
     * 第一个歌手姓名
     */
	@TableField("first_singname")
	private String firstSingname;
    /**
     * 第二个歌手id
     */
	@TableField("second_singid")
	private String secondSingid;
    /**
     * 第二个歌手姓名
     */
	@TableField("second_singname")
	private String secondSingname;
    /**
     * 对战状态 0 为关闭 1为开启  2终止比赛
     */
	private String type;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFirstSingid() {
		return firstSingid;
	}

	public void setFirstSingid(String firstSingid) {
		this.firstSingid = firstSingid;
	}

	public String getFirstSingname() {
		return firstSingname;
	}

	public void setFirstSingname(String firstSingname) {
		this.firstSingname = firstSingname;
	}

	public String getSecondSingid() {
		return secondSingid;
	}

	public void setSecondSingid(String secondSingid) {
		this.secondSingid = secondSingid;
	}

	public String getSecondSingname() {
		return secondSingname;
	}

	public void setSecondSingname(String secondSingname) {
		this.secondSingname = secondSingname;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
